package club.banyuan.demo.Bird;

/**
 * @author edz
 * @version 1.0
 * @date 2020/11/25 上午9:48
 */
public class Main {
    public static void main(String[] args) {
        Sparrow sparrow = new Sparrow();
        Ostrich ostrich = new Ostrich();
        Eagle eagle = new Eagle();

        sparrow.fly();
        ostrich.fly();
        eagle.fly();
        eagle.prey();
    }
}
